package com.spring.applicationEven_annotation_demo;

import lombok.Data;
import org.springframework.context.ApplicationEvent;

@Data
public class SecondEvent extends ApplicationEvent {

	private String name;
	private String msg;

	public SecondEvent(Object source, String name, String msg) {
		super(source);
		this.name = name;
		this.msg = msg;
	}
}
